package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementItemFileRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementItemFilePo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementItemFileDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementItemFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementItemFileDomainImpl extends BaseDomainImpl<ExpenditureReimbursementItemFileDto, ExpenditureReimbursementItemFilePo> implements ExpenditureReimbursementItemFileDomain {

    @Resource
    private ExpenditureReimbursementItemFileRepository expenditureReimbursementItemFileRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementItemFilePo> getMapper() {
        return expenditureReimbursementItemFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementItemFilePo>> getRepositoryClass() {
        return ExpenditureReimbursementItemFileRepository.class;
    }

}
